

/**
*文档注释:一般放在类或者方法的前面
*
*
*/

public class HelloWorld{
	public static void main(String[] args) {
		short a = 12;
		System.out.println(a);
	}
	public static void main6(String[] args) {
		
		byte b = 10;
		System.out.println(b);
		byte b2 = -128;
		byte b3 = 127;
		System.out.println(b2);
		System.out.println(b3);
		//byte b4 = 130;
		//System.out.println(b4);

	}
	public static void main5(String[] args) {
		char ch = 'a';
		char ch2 = '问';
		char ch3 = 97;
		System.out.println(ch);
		System.out.println(ch2);
		System.out.println(ch3);
	}
	public static void main4(String[] args) {
		float a = 12.5f;
		System.out.println(a);
	}
	public static void main3(String[] args) {
		
		double a = 1.0;
		double b = 2.0;
		System.out.println(a/b);
	}
	public static void main2(String[] args) {

		int a = 10;
		System.out.println(Long.MAX_VALUE);
		System.out.println(Long.MIN_VALUE);
		
	}
	public static void func(String[] args){
		for(int i = 0;i < args.length;i++){
			//行注释
			//System.out.println(args[i]);
			/*块注释
			System.out.println(args[0]);
			System.out.println(args[1]);
			System.out.println(args[2]);
			System.out.println(args[3]);
			*/
		}
		System.out.print("打印不换行");
		System.out.println("打印换行");
		System.out.printf("%d\n",10);
	}
}